import requests

pxxy_url = "http://www.pxc.jx.cn/"
header = {'user-agent': "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36"}
pxxy_response = requests.get(pxxy_url, headers=header)
pxxy_response.encoding = "utf-8"

with open("D:\\pxxy.html", "w", encoding="utf-8") as f:
    f.write(pxxy_response.text)

print("萍乡学院网站已保存至：D:\\pxxy.html")